package com.boco.fznq.login;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by jiangcheng on 2017/9/15.
 */

public class CommonParams {

    /**
     * 注册的参数
     *
     * @param phone
     * @param password
     * @return
     */
    public static Map getRegisterParams(String phone, String password) {
        Map map = new HashMap();
        map.put("password", password);
        map.put("phoneNum", phone);
        return map;
    }

    /**
     * 登陆的参数
     *
     * @param username
     * @param password
     * @return
     */
    public static Map getLoginParams(String username, String password) {
        Map map = new HashMap();
        map.put("passWord", password);
        map.put("userName", username);
        return map;
    }

    /**
     * 获取首页的新闻的参数
     *
     * @return
     */
    public static Map getHomeNewsParams() {
        Map map = new HashMap();
//        map.put("passWord", password);
//        map.put("userName", username);
        return map;
    }





}
